package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("series_product")
@ApiModel(value="SeriesProduct对象", description="")
public class SeriesProduct implements Serializable {
    private static final long serialVersionUID=80456489421231L;
    @ApiModelProperty(value = "产品系列关联产品")
    @TableId(value = "series_product_id", type = IdType.AUTO)
    private Long seriesProductId;

    @ApiModelProperty(value = "产品系列")
    @TableField("series_id")
    private Long seriesId;

    @ApiModelProperty(value = "产品")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;
}